package com.wondertek.service.sdk.iotdh.dto.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xxx
 * @Date 2024/9/9 9:32
 */
@Data
public class DeviceVersion {
    @Schema(name = "canBeUpgrade", description = "布尔 布尔 不 可以更新或不 可以更新。True: 有新版本可供更新，并返回 upgradeInfo 字段信息。False: 无法更新", required = false)
    private boolean canBeUpgrade;

    @Schema(name = "deviceId", description = "设备的序列号", required = false)
    private String deviceId;

    @Schema(name = "version", description = "当前设备程序版本", required = false)
    private String version;

    private UpgradeInfo upgradeInfo;


}
